package com.kayt.cyberBar.cyber.business.server;

import java.util.List;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cyber.business.entity.po.BCyberExtraFinance;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberExtraFinanceListVO;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberExtraFinanceVO;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberFinanceStatisticsVO;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberQueryVO;

public interface ICyberExtraFinanceServer {

	public BCyberExtraFinance add_finance(CyberExtraFinanceVO vo);

	public int update_finance(CyberExtraFinanceVO vo);

	public int add_finance_map_list(CyberExtraFinanceListVO vo);

	public Integer delete_finance_by_code(String code);

	public BCyberExtraFinance get_finance(CyberExtraFinanceVO vo);

	public BCyberExtraFinance get_finance_by_code(String code);

	public CyberExtraFinanceVO assemble_vo(BCyberExtraFinance finance);

	public ServerResponse<CyberExtraFinanceVO> assemble_result(BCyberExtraFinance finance);

	public ServerResponse<String> assemble_result_string(int base);

	public ServerResponse<PageData<CyberExtraFinanceVO>> assemble_result_list(PageData<BCyberExtraFinance> pageData);

	public PageData<BCyberExtraFinance> get_finance_list(CyberQueryVO query);

	public boolean check_validate(CyberExtraFinanceVO vo);

	public List<CyberFinanceStatisticsVO> get_finance_statistics_list(CyberQueryVO query);

	public ServerResponse<PageData<CyberFinanceStatisticsVO>> assemble_result_list(List<CyberFinanceStatisticsVO> listData);

}
